<?php
// +----------------------------------------------------------------------
// | session
// +----------------------------------------------------------------------
// | Copyright (c) 2020 http://www.quickdf.com, All rights reserved.
// +----------------------------------------------------------------------
// | Author: 水平凡 <admin@abc3210.com>
// +----------------------------------------------------------------------

use think\facade\Env;

return [
    //session name
    'name' => 'PHPSESSID',
    //SESSION_ID的提交变量,解决flash上传跨域
    'var_session_id' => '',
    //驱动方式 支持file cache
    'type' => 'cache',
    //存储连接标识 当type使用cache的时候有效
    'store' => 'session',
    //过期时间
    'expire' => 3600,
    //前缀
    'prefix' => '',
];